package com.coderman.infosys.user.infrast.convert;

import java.util.List;

import com.coderman.infosys.user.domain.bo.DingUserBO;
import com.coderman.infosys.user.infrast.dao.dataobject.DingUserRelationDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
* @Description:钉钉账号关联接口
* @Author:
* @CreateTime:2021-09-29 17:15:04
* @version v1.0
*/
@Mapper
public interface DingUserConvert{
	DingUserConvert INSTANCE = Mappers.getMapper(DingUserConvert.class);

	/**
	 *
	 * @Description:
	 * @return DingUserBO
	 */
	 DingUserBO do2bo(DingUserRelationDO dingUserDO);
	/**
	 *
	 * @Description:
	 * @return List<DingUserBO>
	 */
	 List<DingUserBO> doList2boList(List<DingUserRelationDO> dingUserDOList);
	/**
	 *
	 * @Description:
	 * @return DingUserDO
	 */
	DingUserRelationDO bo2do(DingUserRelationDO dingUserBO);
	/**
	 *
	 * @Description:
	 * @return List<DingUserDO>
	 */
	 List<DingUserRelationDO> boList2doList(List<DingUserBO> dingUserBOList);
}